<%@ Page Language="C#" MasterPageFile="~/web.master" AutoEventWireup="true" CodeBehind="persetujuan_um_approval.aspx.cs" Inherits="Shuba.Web.approval_assigment.persetujuan_um_approval" %>
<%@ Register Assembly="Shuba.Framework" Namespace="Shuba.Framework" TagPrefix="cc"%>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
			<table class="text" border="0" width="100%" cellspacing="0" cellpadding="2">
				<tr>
					<td class="text bg_content" bgcolor="#FFFFFF" align="center"><p>&nbsp;</p>
			<table class="black" border="0" width="95%" cellspacing="0" cellpadding="0">
				<tr>
					<td class="title_back" align="left">
					    <table class="text" border="0" width="100%" cellspacing="0" cellpadding="0">
					    <tr>
					    <td class="title_back2" width="2%">&nbsp;</td>
					    <td class="title_back2 title_white" width="30%"><asp:Label ID="LabelTitle" runat="server" Text="Label"></asp:Label></td>
					    <td><span class="title_right"></span></td>
					    </tr>
					    </table>
                    </td>
					<td class="title_back" align="right">
					    <a class="text" href="persetujuan_um_list.aspx">List Keputusan UM</a>&nbsp;&nbsp;
                    </td>
				</tr>
				<tr>
					<td colspan="2" align=left class="border_nobottom bg_subtitle_white">&nbsp; Detil</td>
				</tr>				
				<tr>
				<td class="border_nobottom" colspan="2">
				<table class="text" border="0" width="100%" cellspacing="0" cellpadding="2">
				<tr>
					<td colspan="4" class="border_nobottom bg_subtitle_white">&nbsp; Data Pribadi</td>
				</tr>
				    <tr>
				        <td class="bg_grid" align="right" width="25%">Kode AO</td>
				        <td class="bg_grid2" align="left" width="25%">
                            <asp:Label ID="txtAOCode" runat="server" CssClass="text"></asp:Label>
						</td>
				    </tr>
					<tr>
						<td class="bg_grid" align="right" width="25%">PRN</td>
						<td class="bg_grid2" align="left" width="25%">
						<asp:HiddenField ID="hidProspectID" runat="server" />
                            <asp:Label ID="txtProspectNo" runat="server" CssClass="text"></asp:Label>
						</td>
						<td class="bg_grid" align="right" width="25%">Nama Suami/Istri</td>
						<td class="bg_grid2" align="left" width="25%">
                            <asp:Label ID="txtSuamiIstri" runat="server" CssClass="text"></asp:Label>
						</td>
					</tr>
					<tr>
						<td class="bg_grid" align="right">Nama Lengkap</td>
						<td class="bg_grid2" align="left">
                            <asp:Label ID="txtFullName" runat="server" CssClass="text"></asp:Label>
						</td>
						<td class="bg_grid" align="right" width="25%">Tgl Lahir Suami/Istri</td>
						<td class="bg_grid2" align="left" width="25%">
                            <asp:Label ID="tglLahirSuamiIstri" runat="server" CssClass="text"></asp:Label>
						</td>
					</tr>
					<tr>
						<td class="bg_grid" align="right" width="25%">Tanggal Lahir</td>
						<td class="bg_grid2" align="left" width="25%">
                            <asp:Label ID="txtTglLahir" CssClass="text" runat="server"></asp:Label>						   
						</td>
						<td class="bg_grid" align="right" width="25%">Telepon Selular</td>
						<td class="bg_grid2" align="left" width="25%">
                            <asp:Label ID="txtHP" runat="server" CssClass="text"></asp:Label>
						</td>
					</tr>
                    <tr>
                        <td class="bg_grid" align="right" width="25%">Tempat Lahir</td>
						<td class="bg_grid2" align="left" width="25%">
                            <asp:Label ID="txtTempatLahir" CssClass="text" runat="server"></asp:Label>						   
						</td>
						<td class="bg_grid" align="right" width="25%">Telepon Kantor</td>
						<td class="bg_grid2" align="left" width="25%">
                            <asp:Label ID="txtOfficePhone" runat="server" CssClass="text"></asp:Label>
						</td>
                    </tr>
                    <tr>
						<td class="bg_grid" align="right" width="25%">Nama KTP</td>
						<td class="bg_grid2" align="left" width="25%">
                            <asp:Label ID="txtKTPName" CssClass="text" runat="server"></asp:Label>						   
						</td>
						<td class="bg_grid" align="right" width="25%">Telepon Rumah</td>
						<td class="bg_grid2" align="left" width="25%">
                            <asp:Label ID="txtHomePhone" runat="server" CssClass="text"></asp:Label>
						</td>
					</tr>
					<tr>
						<td class="bg_grid" align="right" width="25%">Jenis Kelamin</td>
						<td class="bg_grid2" align="left" width="25%">
                            <asp:Label ID="txtJenisKelamin" CssClass="text" runat="server"></asp:Label>						   
						</td>
						<td class="bg_grid" align="right" width="25%">Status Tempat Tinggal</td>
						<td class="bg_grid2" align="left" width="25%">
                            <asp:Label ID="txtStatusTinggal" runat="server" CssClass="text"></asp:Label>
						</td>
					</tr>
					<tr>
						<td class="bg_grid" align="right" width="25%">KTP NO</td>
						<td class="bg_grid2" align="left" width="25%">
                            <asp:Label ID="txtKTPNo" CssClass="text" runat="server"></asp:Label>						   
						</td>
						<td class="bg_grid" align="right" width="25%">Lama Tinggal</td>
						<td class="bg_grid2" align="left" width="25%">
                            <asp:Label ID="txtLamaTinggal" runat="server" CssClass="text"></asp:Label>
						</td>
					</tr>
					<tr>
						<td class="bg_grid" align="right" width="25%">NPWP NO</td>
						<td class="bg_grid2" align="left" width="25%">
                            <asp:Label ID="txtNPWP" CssClass="text" runat="server"></asp:Label>						   
						</td>
						<td class="bg_grid" align="right" width="25%">Status Tempat Usaha</td>
						<td class="bg_grid2" align="left" width="25%">
                            <asp:Label ID="txtStatusTempatUsaha" runat="server" CssClass="text"></asp:Label>
						</td>
					</tr>
					<tr>
						<td class="bg_grid" align="right" width="25%">Ibu Kandung</td>
						<td class="bg_grid2" align="left" width="25%">
                            <asp:Label ID="txtIbuKandung" CssClass="text" runat="server"></asp:Label>						   
						</td>
						<td class="bg_grid" align="right" width="25%">Jenis Usaha</td>
						<td class="bg_grid2" align="left" width="25%">
                            <asp:Label ID="txtJenisUsaha" runat="server" CssClass="text"></asp:Label>
						</td>
					</tr>
					<tr>
						<td class="bg_grid" align="right" width="25%">Status Nikah</td>
						<td class="bg_grid2" align="left" width="25%">
                            <asp:Label ID="txtStatusNikah" CssClass="text" runat="server"></asp:Label>						   
						</td>
						<td class="bg_grid" align="right" width="25%">Lama Usaha</td>
						<td class="bg_grid2" align="left" width="25%">
                            <asp:Label ID="txtLamaUsaha" runat="server" CssClass="text"></asp:Label>
						</td>
					</tr>					
					<tr>
						<td class="bg_grid" align="right" width="25%">Jumlah Tanggungan</td>
						<td class="bg_grid2" align="left" width="25%">
                            <asp:Label ID="txtTanggungan" CssClass="text" runat="server"></asp:Label>						   
						</td>
						<td class="bg_grid" align="right" width="25%">Omzet</td>
						<td class="bg_grid2" align="left" width="25%">
                            <asp:Label ID="txtOmzet" runat="server" CssClass="text"></asp:Label>
						</td>
					</tr>
					<tr>
					    <td colspan="4" class="border_nobottom bg_subtitle_white">&nbsp; Alamat Usaha</td>
				    </tr>
				    <tr>
						<td class="bg_grid" align="right" width="25%">Kodya / Kab</td>
						<td class="bg_grid2" colspan="3" align="left" width="25%">
                            <asp:Label ID="txtKodya" CssClass="text" runat="server"></asp:Label>						   
						</td>
					</tr>
					<tr>
						<td class="bg_grid" align="right" width="25%">Kecamatan</td>
						<td class="bg_grid2"  colspan="3" align="left" width="25%">
                            <asp:Label ID="txtKecamatan" CssClass="text" runat="server"></asp:Label>						   
						</td>
					</tr>
					<tr>
						<td class="bg_grid" align="right" width="25%">Kelurahan</td>
						<td class="bg_grid2"  colspan="3" align="left" width="25%">
                            <asp:Label ID="txtKelurahan" CssClass="text" runat="server"></asp:Label>						   
						</td>
					</tr>
					<tr>
						<td class="bg_grid" align="right" width="25%">ZIP</td>
						<td class="bg_grid2" colspan="3" align="left" width="25%">
                            <asp:Label ID="txtZIP" CssClass="text" runat="server"></asp:Label>						   
						</td>
					</tr>
					<tr>
						<td class="bg_grid" align="right" width="25%">Alamat Usaha</td>
						<td class="bg_grid2"  colspan="3" align="left" width="25%">
                            <asp:Label ID="txtAlamat" CssClass="text" runat="server"></asp:Label>						   
						</td>
					</tr>
					<tr>
					    <td colspan="4" class="border_nobottom bg_subtitle_white">&nbsp; Informasi Produk</td>
				    </tr>
				    <tr>
						<td class="bg_grid" align="right" width="25%">Funding Lending</td>
						<td class="bg_grid2" align="left" width="25%">
                            <asp:Label ID="txtFundingLending" CssClass="text" runat="server"></asp:Label>						   
						</td>
						<td class="bg_grid" align="right" width="25%">Tipe Prospect</td>
						<td class="bg_grid2" align="left" width="25%">
                            <asp:Label ID="txtTypeProspect" runat="server" CssClass="text"></asp:Label>
						</td>
					</tr>
					<tr>
						<td class="bg_grid" align="right" width="25%">Jenis Produk</td>
						<td class="bg_grid2" align="left" width="25%">
                            <asp:Label ID="txtProduk" CssClass="text" runat="server"></asp:Label>						   
						</td>
						<td class="bg_grid" align="right" width="25%">Tipe Debitur</td>
						<td class="bg_grid2" align="left" width="25%">
                            <asp:Label ID="txtDebtorType" runat="server" CssClass="text"></asp:Label>
						</td>
					</tr>
					<tr>
						<td class="bg_grid" align="right" width="25%">Sales Channel</td>
						<td class="bg_grid2" align="left" width="25%">
                            <asp:Label ID="txtSalesChannel" CssClass="text" runat="server"></asp:Label>						   
						</td>
						<td class="bg_grid" align="right" width="25%">Tipe Channel</td>
						<td class="bg_grid2" align="left" width="25%">
                            <asp:Label ID="txtChanneling" runat="server" CssClass="text"></asp:Label>
						</td>
					</tr>
					<tr>
						<td class="bg_grid" align="right" width="25%">Siklus Status</td>
						<td class="bg_grid2" align="left" width="25%">
                            <asp:Label ID="txtSiklus" CssClass="text" runat="server"></asp:Label>						   
						</td>
						<td class="bg_grid" align="right" width="25%">Pihak External</td>
						<td class="bg_grid2" align="left" width="25%">
                            <asp:Label ID="txtExternal" runat="server" CssClass="text"></asp:Label>
						</td>
					</tr>
					<tr>
						<td class="bg_grid" align="right" width="25%">Rencana Plafon</td>
						<td class="bg_grid2" align="left" width="25%">
                            <asp:Label ID="txtRencanaPlafon" CssClass="text" runat="server"></asp:Label>						   
						</td>
						<td class="bg_grid" align="right" width="25%">Batas Bank Inisiatif</td>
						<td class="bg_grid2" align="left" width="25%">
                            <asp:Label ID="txtBatasBank" runat="server" CssClass="text"></asp:Label>
						</td>
					</tr>
					<tr>
					    <td colspan="4" class="border_nobottom bg_subtitle_white">&nbsp; Time Stamp</td>
				    </tr>
				    <tr>
						<td class="bg_grid" align="right" width="25%">Tgl. PCD to CD</td>
						<td class="bg_grid2" colspan="3" align="left" width="25%">
                            <asp:Label ID="lblPCDtoCD" CssClass="text" runat="server"></asp:Label>						   
						</td>
					</tr>
				    <tr>
						<td class="bg_grid" align="right" width="25%">PCD Dari</td>
						<td class="bg_grid2" colspan="3" align="left" width="25%">
                            <asp:Label ID="lblPCDFrom" CssClass="text" runat="server"></asp:Label>						   
						</td>
					</tr>
					<tr>
						<td class="bg_grid" align="right" width="25%">Tgl. Dedup Result</td>
						<td class="bg_grid2"  colspan="3" align="left" width="25%">
                            <asp:Label ID="lblDedupDate" CssClass="text" runat="server"></asp:Label>						   
						</td>
					</tr>
					<tr>
						<td class="bg_grid" align="right" width="25%">Hasil Dedup Ke </td>
						<td class="bg_grid2"  colspan="3" align="left" width="25%">
                            <asp:Label ID="lblDedupKe" CssClass="text" runat="server"></asp:Label>						   
						</td>
					</tr>
					</tr>
					<tr>
					    <td colspan="4" class="border_nobottom bg_subtitle_white">&nbsp;
					        Daftar Prospect Final Dedup
					    </td>
				    </tr>
				    <tr>
				        <td colspan="4" class="border">
					        <asp:UpdatePanel ID="updatepanel3" runat="server">
                                <ContentTemplate>
                                    <cc:SHUBAGrid ID="gvList" runat="server" AutoGenerateColumns="false" Width=100%
					                AllowSorting="true" OnSorting="gvList_Sorting">
                                        <Columns>
                                            <asp:BoundField DataField="KRITERIA" HeaderText="KRITERIA DEDUP" 
                                            SortExpression="KRITERIA" ItemStyle-HorizontalAlign="Left" />
                                            <asp:BoundField DataField="PRN_MATCH" HeaderText="PRN" 
                                            SortExpression="PRN_MATCH" ItemStyle-HorizontalAlign="Left" />
                                            <asp:BoundField DataField="KTP_NAME_MATCH" HeaderText="NAMA SESUAI KTP" 
                                            SortExpression="KTP_NAME_MATCH" ItemStyle-HorizontalAlign="Left" />
                                            <asp:BoundField DataField="ADDRESS_BUSINESS_MATCH" 
                                            HeaderText="ALAMAT USAHA" SortExpression="ADDRESS_BUSINESS_MATCH" 
                                            ItemStyle-HorizontalAlign="Left" />
                                            <asp:BoundField DataField="DOB_MATCH" DataFormatString="{0:dd MMM yyyy}" HeaderText="TANGGAL LAHIR" 
                                            SortExpression="DOB_MATCH" ItemStyle-HorizontalAlign="Center" />
                                            <asp:BoundField DataField="PLACE_OF_BIRTH_MATCH" HeaderText="TEMPAT LAHIR" 
                                            SortExpression="PLACE_OF_BIRTH_MATCH" ItemStyle-HorizontalAlign="Left" />
                                            <asp:BoundField DataField="KTP_NO_MATCH" HeaderText="KTP" 
                                            SortExpression="KTP_NO_MATCH" ItemStyle-HorizontalAlign="Left" />
                                            <asp:BoundField DataField="PRODUCT_TYPE_MATCH" HeaderText="TIPE PRODUK" 
                                            SortExpression="PRODUCT_TYPE_MATCH" ItemStyle-HorizontalAlign="Left" />
                                            <asp:BoundField DataField="PROGRESS_STATUS_MATCH" HeaderText="PROGRESS STATUS" 
                                            SortExpression="PROGRESS_STATUS_MATCH" ItemStyle-HorizontalAlign="Left" />
                                            <asp:BoundField DataField="UPDATE_DATE" HeaderText="MAINTENANCE DATE" 
                                            SortExpression="UPDATE_DATE" ItemStyle-HorizontalAlign="Center" />
                                        </Columns>
                                        <EmptyDataTemplate>
                                            <table class="text" width=100% cellpadding=0 cellspacing=0>
                                                <tr>
                                                    <td class="bg_grid2" align=center>
                                                        DATA TIDAK DITEMUKAN</td>
                                                </tr>
                                            </table>
                                        </EmptyDataTemplate>
                                    </cc:SHUBAGrid>
                                </ContentTemplate>
					        </asp:UpdatePanel>
					    </td>
				    </tr>
				    <tr>
				        <td align="left" colspan="2" class="bg_grid">
				        <asp:UpdatePanel ID="upDedup" runat="server">
					        <ContentTemplate>
					            <asp:Label ID="lblFinalDeup" runat="server" Text="..."></asp:Label>
					        </ContentTemplate>
					        <Triggers></Triggers>
					        </asp:UpdatePanel>
				        </td>
				        <td align="right" colspan="2" class="bg_grid">
				            <asp:Button ID="btnReqDedup" Text="Request Dedup" runat="server" 
				            CssClass="buttonsmall" Width="100" 
                            onclick="btnReqDedup_Click" />
                        </td>
				    </tr>
				    <tr>
					    <td colspan="4" class="border_nobottom bg_subtitle_white">&nbsp; Keputusan UM</td>
				    </tr>
					<tr>
						<td class="bg_grid" align="right">Keputusan UM</td>
						<td class="bg_grid2" colspan="3" align="left">
                            <asp:DropDownList ID="ddlApprove" AutoPostBack="true" runat="server" RepeatDirection="Horizontal" 
                                CssClass="text" onselectedindexchanged="ddlApprove_SelectedIndexChanged">
                            <asp:ListItem Value="PILIH">- Pilih -</asp:ListItem>
                            <asp:ListItem Value="1">Disetujui</asp:ListItem>
                            <asp:ListItem Value="0">Ditolak</asp:ListItem>
                            </asp:DropDownList>
                            <asp:RequiredFieldValidator ID="reqKepUM" InitialValue="PILIH" runat="server" ControlToValidate="ddlApprove" ErrorMessage="* Silakan Pilih"></asp:RequiredFieldValidator>
						</td>
					</tr>
					<tr>
						<td class="bg_grid" align="right">Keterangan Penolakan</td>
						<td class="bg_grid2" colspan="3" align="left">
						    <asp:UpdatePanel ID="UpdatePanel2" runat="server">
						    <ContentTemplate>
						        <asp:TextBox ID="txtKeterangan" runat="server" Width="50%" Enabled="false" MaxLength=255></asp:TextBox>
                            </ContentTemplate>
                            <Triggers>
                                <asp:AsyncPostBackTrigger ControlID="ddlApprove" EventName="SelectedIndexChanged"/>
                            </Triggers>
                            </asp:UpdatePanel>
						</td>
					</tr>
					<tr>
                        <td class="bg_grid" align="right" width="30%">CO Assignment</td>
                        <td class="bg_grid2" colspan="3" align="left">
                         <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                            <ContentTemplate>
						        <asp:DropDownList ID="ddlCOAssigment" Enabled="false" AutoPostBack="true" runat="server" Width="30%" CssClass="text"></asp:DropDownList>						        
                            </ContentTemplate>
                            <Triggers>
                                <asp:AsyncPostBackTrigger ControlID="ddlApprove" EventName="SelectedIndexChanged"/>
                            </Triggers>
                          </asp:UpdatePanel>
                        </td>
                    </tr>
				</table>
				</td>
				</tr>
				<tr>
				    <td class="border bg_footer" colspan="2" align=left>&nbsp; &nbsp;
				    <asp:UpdatePanel ID="UpdatePanel4" runat="server">
				    <ContentTemplate>
				        <asp:Button ID="btnApprove" Text="Submit" runat="server" CssClass="buttonsmall" onclick="btnApprove_Click" />
				        <asp:Button ID="btnCancel" Text="Back" runat="server" CssClass="buttonsmall" onclick="btnCancel_Click" CausesValidation="false" />
                    </ContentTemplate>
                    <Triggers>
                        <asp:AsyncPostBackTrigger ControlID="ddlApprove" EventName="SelectedIndexChanged"/>
                    </Triggers>
                    </asp:UpdatePanel>
				</td>
				</tr>
			</table>
				</td>
				</tr>
</table>
<p>&nbsp;</p>
</asp:Content>